using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Resources;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;

namespace KPIS.GERP.Models.ICM
{
	[DataContract, Table("IcmRequisitionDesc")]
    public class RequisitionDesc
    {

		[DataMember, Display(Name = "RequisitonDesItem", ResourceType = typeof(Resources.RequisitionDescResource))]
        public int RequisitonDesItem { get; set; }

		[DataMember, Display(Name = "RequisitionCode", ResourceType = typeof(Resources.RequisitionDescResource))]
        public string RequisitionCode { get; set; }

		[DataMember, Display(Name = "RequisitionItem", ResourceType = typeof(Resources.RequisitionDescResource))]
        public Nullable<int> RequisitionItem { get; set; }

		[ForeignKey("ResItem")]
		[DataMember, Display(Name = "ResItemId", ResourceType = typeof(Resources.RequisitionDescResource))]
        public Nullable<int> IcmResItemId { get; set; }

		[DataMember, Display(Name = "Quantity", ResourceType = typeof(Resources.RequisitionDescResource))]
        public Nullable<double> Quantity { get; set; }

		[DataMember, Display(Name = "RecordStatus", ResourceType = typeof(Resources.RequisitionDescResource))]
        public string RecordStatus { get; set; }

		public virtual ICM.MasResourceGroup ResItem { get; set; }
    }
}